/*
* 命名空间: Authority.Model
*
* 功 能： SysDepartmentRole实体类
*
* 类 名： SysDepartmentRoleEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2019/09/27 14:26:13 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Authority.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "SysDepartmentRole")]
    public class SysDepartmentRoleEntity
    {

        /// <summary>
        /// 唯一标识符
        /// </summary>
        [DBFieldInfo(ByteLength = 32,DataLength = 32,DecimalDigits = 0,ColumnName = "gCode",Required = true,DefaultValue = "",IsPrimarykey = true)]
        public string gCode
        {
            get; set;
        }

        /// <summary>
        /// 部门唯一标识符
        /// </summary>
        [DBFieldInfo(ByteLength = 32,DataLength = 32,DecimalDigits = 0,ColumnName = "gDepartmentCode",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public string gDepartmentCode
        {
            get; set;
        }

        /// <summary>
        /// 角色唯一标识符
        /// </summary>
        [DBFieldInfo(ByteLength = 32,DataLength = 32,DecimalDigits = 0,ColumnName = "gRoleCode",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public string gRoleCode
        {
            get; set;
        }
    }
}
